package main

/*
* Author: JacksonCoder
* CreateTime: 2024/11/30
 */

func Switch(status int) {
	switch status {
	case 0:
		println("初始化")
	case 1:
		println("运行中")
	default:
		println("未知状态")
	}
	println("world pace!!!")
}

func SwitchBool(age int) {
	switch {
	case age >= 18:
		println("成年人")
	case age > 12:
		println("少年")
	}
}
